{% if child.children.size > 0 %}  {% assign leaf_page = false %}{% else %}  {% assign leaf_page = true %}{% endif %}<li {% if leaf_page %}class="node-end"{% endif %}>  <a href="{{ child.url | h }}" title="{{ child.title | h }}">    {{ child.title | h }}  </a>  {% unless leaf_page %}    {% assign children = child.children %}    <ul>      {% for child in children %}        {% include 'Sitemap Item' %}      {% endfor %}    </ul>  {% endunless %}</li>